# CSS类元素选择器
# 写法： value="标签名"
# 语法： 浏览器对象.find_element(by=By.CSS_SELECTOR,value="CSS表达式")
import time

from selenium import webdriver
from selenium.webdriver.common.by import By

driver = webdriver.Chrome()
driver.get("http://121.43.169.97:8848/pageA.html")
# driver.find_element(by=By.CSS_SELECTOR, value=".userA").send_keys("admin") 此方法报错
driver.find_element(by=By.CSS_SELECTOR, value=".telA").send_keys('123456')

time.sleep(3)
driver.quit()
